#ifndef EDITORWIDGET_HH
#define EDITORWIDGET_HH

#include <QtGui>
#include "syntaxhighlighter.hh"

class EditorWidget : public QTextEdit
{
Q_OBJECT
public:
    EditorWidget(QWidget *parent = 0);


    int line(void);
    int column(void);

protected:
    void keyPressEvent(QKeyEvent* e);

private:
    SyntaxHighlighter* m_syntaxHighlighter;

};

#endif // EDITORWIDGET_HH
